6fa948bc1a56e9bbaef9752ad5053d1fcefc5809,ij/plugin/frame/SyncWindows.java,SyncWindows,mouseMoved,#MouseEvent#,222
Before Change
if (cCoords.getState() && iw != iwc) {
p = getMatchingCoords(ic, icc, x, y);
oldp = getMatchingCoords(ic, icc, oldX, oldY);
rect = boundingRect(p.x, p.y, oldp.x, oldp.y);
} else {
p.x = x;
p.y = y;
rect = boundingRect(x,y,oldX,oldY);
}
// For PolygonRoi the cursor would overwrite the indicator lines.
Roi roi = imp.getRoi();
if (! (roi != null && roi instanceof PolygonRoi && roi.getState() == Roi.CONSTRUCTING) ) {
drawSyncCursor(ic,rect, p.x, p.y);
}
if(iw != iwc)
After Change
// For PolygonRoi the cursor would overwrite the indicator lines.
Roi roi = imp.getRoi();
if (! (roi != null && roi instanceof PolygonRoi && roi.getState() == Roi.CONSTRUCTING) )
drawSyncCursor(imp, p.x, p.y);
if (iw != iwc)
ic.mouseMoved(adaptEvent(e, ic, p));
}